<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8" />
    <meta name="robots" content="index, follow, all" />
    <title>Guanguans\Coole\Facade\DB | Coole API</title>

            <link rel="stylesheet" type="text/css" href="../../../css/bootstrap.min.css">
        <link rel="stylesheet" type="text/css" href="../../../css/bootstrap-theme.min.css">
        <link rel="stylesheet" type="text/css" href="../../../css/doctum.css">
        <link rel="stylesheet" type="text/css" href="../../../fonts/doctum-font.css">
        <script src="../../../js/jquery-3.5.1.slim.min.js"></script>
        <script async defer src="../../../js/bootstrap.min.js"></script>
        <script src="../../../js/typeahead.min.js"></script>
        <script src="../../../doctum.js"></script>
        <meta name="MobileOptimized" content="width">
        <meta name="HandheldFriendly" content="true">
        <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1">
        <link rel="shortcut icon" href="https://www.guanguans.cn/coole/static/favicon.png" />
    </head>

    <body id="class" data-name="class:Guanguans_Coole_Facade_DB" data-root-path="../../../">
            <div id="content">
        <div id="left-column">
                <div id="control-panel">
                    <form action="#">
                <select  class="form-control" id="version-switcher" name="version">
                                            <option value="../../../../1.x/index.html" data-version="1.x">1.x branch</option>
                                            <option value="../../../../main/index.html" data-version="main">main branch</option>
                                    </select>
            </form>
                <form id="search-form" action="../../../search.html">
            <span class="icon icon-search"></span>
            <input name="search"
                   class="typeahead form-control"
                   type="search"
                   placeholder="Search">
        </form>
    </div>

                <div id="api-tree"></div>

        </div>
        <div id="right-column">
                <nav id="site-nav" class="navbar navbar-default" role="navigation">
        <div class="container-fluid">
            <div class="navbar-header">
                <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar-elements">
                    <span class="sr-only">Toggle navigation</span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
                <a class="navbar-brand" href="../../../index.html">Coole API</a>
            </div>
            <div class="collapse navbar-collapse" id="navbar-elements">
                <ul class="nav navbar-nav">
                    <li><a href="../../../classes.html">Classes</a></li>
                    <li><a href="../../../namespaces.html">Namespaces</a></li>
                    <li><a href="../../../interfaces.html">Interfaces</a></li>
                    <li><a href="../../../traits.html">Traits</a></li>
                    <li><a href="../../../doc-index.html">Index</a></li>
                    <li><a href="../../../search.html">Search</a></li>
                </ul>
            </div>
        </div>
    </nav>

                        <div class="namespace-breadcrumbs">
            <ol class="breadcrumb">
                <li><span class="label label-default">class</span></li>
                        <li><a href="../../../Guanguans.html">Guanguans</a></li><li class="backslash">\</li><li><a href="../../../Guanguans/Coole.html">Coole</a></li><li class="backslash">\</li><li><a href="../../../Guanguans/Coole/Facade.html">Facade</a></li><li class="backslash">\</li><li>DB</li>
            </ol>
        </div>
                <div id="page-content">
    <div class="page-header">
        <h1>DB    
            </h1>
    </div>

    
    <p>        class
    <strong>DB</strong>        extends <a href="../../../Guanguans/Coole/Facade/Facade.html"><abbr title="Guanguans\Coole\Facade\Facade">Facade</abbr></a>
</p>

        
    
        

            
        
    
            <h2>Properties</h2>

            <table class="table table-condensed">
                    <tr>
                <td class="type" id="property_app">
                    static                    protected                                        <abbr title="guanguans\Coole\App">App</abbr>
                                                                                
                                    </td>
                <td>$app</td>
                <td class="last"></td>
                <td><small>from&nbsp;<a href="../../../Guanguans/Coole/Facade/Facade.html#property_app">
<abbr title="Guanguans\Coole\Facade\Facade">Facade</abbr></a></small></td>
            </tr>
                    <tr>
                <td class="type" id="property_resolvedInstance">
                    static                    protected                                        array
                                                                                
                                    </td>
                <td>$resolvedInstance</td>
                <td class="last"><p>已经解析的对象实例.</p></td>
                <td><small>from&nbsp;<a href="../../../Guanguans/Coole/Facade/Facade.html#property_resolvedInstance">
<abbr title="Guanguans\Coole\Facade\Facade">Facade</abbr></a></small></td>
            </tr>
            </table>

    
            <h2>Methods</h2>

            <div class="container-fluid underlined">
                    <div class="row">
                <div class="col-md-2 type">
                    static&nbsp;mixed
                </div>
                <div class="col-md-8">
                    <a href="#method_getFacadeRoot">getFacadeRoot</a>()
        
                                            <p class="no-description">No description</p>
                                    </div>
                <div class="col-md-2"><small>from&nbsp;<a href="../../../Guanguans/Coole/Facade/Facade.html#method_getFacadeRoot">
<abbr title="Guanguans\Coole\Facade\Facade">Facade</abbr></a></small></div>
            </div>
                    <div class="row">
                <div class="col-md-2 type">
                    static&nbsp;string
                </div>
                <div class="col-md-8">
                    <a href="#method_getFacadeAccessor">getFacadeAccessor</a>()
        
                                            <p class="no-description">No description</p>
                                    </div>
                <div class="col-md-2"></div>
            </div>
                    <div class="row">
                <div class="col-md-2 type">
                    static&nbsp;mixed
                </div>
                <div class="col-md-8">
                    <a href="#method_resolveFacadeInstance">resolveFacadeInstance</a>($name)
        
                                            <p><p>解析门面实例.</p></p>                </div>
                <div class="col-md-2"><small>from&nbsp;<a href="../../../Guanguans/Coole/Facade/Facade.html#method_resolveFacadeInstance">
<abbr title="Guanguans\Coole\Facade\Facade">Facade</abbr></a></small></div>
            </div>
                    <div class="row">
                <div class="col-md-2 type">
                    static&nbsp;<abbr title="guanguans\Coole\App">App</abbr>
                </div>
                <div class="col-md-8">
                    <a href="#method_getFacadeApplication">getFacadeApplication</a>()
        
                                            <p class="no-description">No description</p>
                                    </div>
                <div class="col-md-2"><small>from&nbsp;<a href="../../../Guanguans/Coole/Facade/Facade.html#method_getFacadeApplication">
<abbr title="Guanguans\Coole\Facade\Facade">Facade</abbr></a></small></div>
            </div>
                    <div class="row">
                <div class="col-md-2 type">
                    static&nbsp;
                </div>
                <div class="col-md-8">
                    <a href="#method_setFacadeApplication">setFacadeApplication</a>($app)
        
                                            <p class="no-description">No description</p>
                                    </div>
                <div class="col-md-2"><small>from&nbsp;<a href="../../../Guanguans/Coole/Facade/Facade.html#method_setFacadeApplication">
<abbr title="Guanguans\Coole\Facade\Facade">Facade</abbr></a></small></div>
            </div>
                    <div class="row">
                <div class="col-md-2 type">
                    static&nbsp;<a target="_blank" rel="noopener" href="https://www.php.net/RuntimeException">RuntimeException</a>
                </div>
                <div class="col-md-8">
                    <a href="#method___callStatic">__callStatic</a>($method, $args)
        
                                            <p class="no-description">No description</p>
                                    </div>
                <div class="col-md-2"><small>from&nbsp;<a href="../../../Guanguans/Coole/Facade/Facade.html#method___callStatic">
<abbr title="Guanguans\Coole\Facade\Facade">Facade</abbr></a></small></div>
            </div>
                    <div class="row">
                <div class="col-md-2 type">
                    static&nbsp;<abbr title="Illuminate\Database\ConnectionInterface">ConnectionInterface</abbr>
                </div>
                <div class="col-md-8">
                    <a href="#method_connection">connection</a>(string $name = null)
        
                                            <p class="no-description">No description</p>
                                    </div>
                <div class="col-md-2"></div>
            </div>
                    <div class="row">
                <div class="col-md-2 type">
                    static&nbsp;<abbr title="Illuminate\Database\Query\Builder">Builder</abbr>
                </div>
                <div class="col-md-8">
                    <a href="#method_table">table</a>(string $table, string $as = null)
        
                                            <p class="no-description">No description</p>
                                    </div>
                <div class="col-md-2"></div>
            </div>
                    <div class="row">
                <div class="col-md-2 type">
                    static&nbsp;<abbr title="Illuminate\Database\Query\Expression">Expression</abbr>
                </div>
                <div class="col-md-8">
                    <a href="#method_raw">raw</a>(mixed $value)
        
                                            <p class="no-description">No description</p>
                                    </div>
                <div class="col-md-2"></div>
            </div>
                    <div class="row">
                <div class="col-md-2 type">
                    static&nbsp;array
                </div>
                <div class="col-md-8">
                    <a href="#method_prepareBindings">prepareBindings</a>(array $bindings)
        
                                            <p class="no-description">No description</p>
                                    </div>
                <div class="col-md-2"></div>
            </div>
                    <div class="row">
                <div class="col-md-2 type">
                    static&nbsp;array
                </div>
                <div class="col-md-8">
                    <a href="#method_pretend">pretend</a>(<a target="_blank" rel="noopener" href="https://www.php.net/Closure">Closure</a> $callback)
        
                                            <p class="no-description">No description</p>
                                    </div>
                <div class="col-md-2"></div>
            </div>
                    <div class="row">
                <div class="col-md-2 type">
                    static&nbsp;array
                </div>
                <div class="col-md-8">
                    <a href="#method_select">select</a>(string $query, array $bindings = [], bool $useReadPdo = true)
        
                                            <p class="no-description">No description</p>
                                    </div>
                <div class="col-md-2"></div>
            </div>
                    <div class="row">
                <div class="col-md-2 type">
                    static&nbsp;bool
                </div>
                <div class="col-md-8">
                    <a href="#method_insert">insert</a>(string $query, array $bindings = [])
        
                                            <p class="no-description">No description</p>
                                    </div>
                <div class="col-md-2"></div>
            </div>
                    <div class="row">
                <div class="col-md-2 type">
                    static&nbsp;bool
                </div>
                <div class="col-md-8">
                    <a href="#method_statement">statement</a>(string $query, array $bindings = [])
        
                                            <p class="no-description">No description</p>
                                    </div>
                <div class="col-md-2"></div>
            </div>
                    <div class="row">
                <div class="col-md-2 type">
                    static&nbsp;bool
                </div>
                <div class="col-md-8">
                    <a href="#method_unprepared">unprepared</a>(string $query)
        
                                            <p class="no-description">No description</p>
                                    </div>
                <div class="col-md-2"></div>
            </div>
                    <div class="row">
                <div class="col-md-2 type">
                    static&nbsp;int
                </div>
                <div class="col-md-8">
                    <a href="#method_affectingStatement">affectingStatement</a>(string $query, array $bindings = [])
        
                                            <p class="no-description">No description</p>
                                    </div>
                <div class="col-md-2"></div>
            </div>
                    <div class="row">
                <div class="col-md-2 type">
                    static&nbsp;int
                </div>
                <div class="col-md-8">
                    <a href="#method_delete">delete</a>(string $query, array $bindings = [])
        
                                            <p class="no-description">No description</p>
                                    </div>
                <div class="col-md-2"></div>
            </div>
                    <div class="row">
                <div class="col-md-2 type">
                    static&nbsp;int
                </div>
                <div class="col-md-8">
                    <a href="#method_transactionLevel">transactionLevel</a>()
        
                                            <p class="no-description">No description</p>
                                    </div>
                <div class="col-md-2"></div>
            </div>
                    <div class="row">
                <div class="col-md-2 type">
                    static&nbsp;int
                </div>
                <div class="col-md-8">
                    <a href="#method_update">update</a>(string $query, array $bindings = [])
        
                                            <p class="no-description">No description</p>
                                    </div>
                <div class="col-md-2"></div>
            </div>
                    <div class="row">
                <div class="col-md-2 type">
                    static&nbsp;mixed
                </div>
                <div class="col-md-8">
                    <a href="#method_selectOne">selectOne</a>(string $query, array $bindings = [], bool $useReadPdo = true)
        
                                            <p class="no-description">No description</p>
                                    </div>
                <div class="col-md-2"></div>
            </div>
                    <div class="row">
                <div class="col-md-2 type">
                    static&nbsp;mixed
                </div>
                <div class="col-md-8">
                    <a href="#method_transaction">transaction</a>(<a target="_blank" rel="noopener" href="https://www.php.net/Closure">Closure</a> $callback, int $attempts = 1)
        
                                            <p class="no-description">No description</p>
                                    </div>
                <div class="col-md-2"></div>
            </div>
                    <div class="row">
                <div class="col-md-2 type">
                    static&nbsp;string
                </div>
                <div class="col-md-8">
                    <a href="#method_getDefaultConnection">getDefaultConnection</a>()
        
                                            <p class="no-description">No description</p>
                                    </div>
                <div class="col-md-2"></div>
            </div>
                    <div class="row">
                <div class="col-md-2 type">
                    static&nbsp;void
                </div>
                <div class="col-md-8">
                    <a href="#method_beginTransaction">beginTransaction</a>()
        
                                            <p class="no-description">No description</p>
                                    </div>
                <div class="col-md-2"></div>
            </div>
                    <div class="row">
                <div class="col-md-2 type">
                    static&nbsp;void
                </div>
                <div class="col-md-8">
                    <a href="#method_commit">commit</a>()
        
                                            <p class="no-description">No description</p>
                                    </div>
                <div class="col-md-2"></div>
            </div>
                    <div class="row">
                <div class="col-md-2 type">
                    static&nbsp;void
                </div>
                <div class="col-md-8">
                    <a href="#method_listen">listen</a>(<a target="_blank" rel="noopener" href="https://www.php.net/Closure">Closure</a> $callback)
        
                                            <p class="no-description">No description</p>
                                    </div>
                <div class="col-md-2"></div>
            </div>
                    <div class="row">
                <div class="col-md-2 type">
                    static&nbsp;void
                </div>
                <div class="col-md-8">
                    <a href="#method_rollBack">rollBack</a>(int $toLevel = null)
        
                                            <p class="no-description">No description</p>
                                    </div>
                <div class="col-md-2"></div>
            </div>
                    <div class="row">
                <div class="col-md-2 type">
                    static&nbsp;void
                </div>
                <div class="col-md-8">
                    <a href="#method_setDefaultConnection">setDefaultConnection</a>(string $name)
        
                                            <p class="no-description">No description</p>
                                    </div>
                <div class="col-md-2"></div>
            </div>
            </div>


        <h2>Details</h2>

            <div id="method-details">
                    <div class="method-item">
                    <h3 id="method_getFacadeRoot">
        <div class="location">in <a href="../../../Guanguans/Coole/Facade/Facade.html#method_getFacadeRoot">
<abbr title="Guanguans\Coole\Facade\Facade">Facade</abbr></a> at line 34</div>
        <code>        static            mixed
    <strong>getFacadeRoot</strong>()
        </code>
    </h3>
    <div class="details">    
    
            

        <div class="method-description">
                            <p class="no-description">No description</p>
                    
        </div>
        <div class="tags">
            
                            <h4>Return Value</h4>

                    <table class="table table-condensed">
        <tr>
            <td>mixed</td>
            <td></td>
        </tr>
    </table>

            
            
            
                    </div>
    </div>

            </div>
                    <div class="method-item">
                    <h3 id="method_getFacadeAccessor">
        <div class="location">at line 46</div>
        <code>        static            string
    <strong>getFacadeAccessor</strong>()
        </code>
    </h3>
    <div class="details">    
    
            

        <div class="method-description">
                            <p class="no-description">No description</p>
                    
        </div>
        <div class="tags">
            
                            <h4>Return Value</h4>

                    <table class="table table-condensed">
        <tr>
            <td>string</td>
            <td></td>
        </tr>
    </table>

            
                            <h4>Exceptions</h4>

                    <table class="table table-condensed">
                    <tr>
                <td><a target="_blank" rel="noopener" href="https://www.php.net/RuntimeException">RuntimeException</a></td>
                <td></td>
            </tr>
            </table>

            
            
                    </div>
    </div>

            </div>
                    <div class="method-item">
                    <h3 id="method_resolveFacadeInstance">
        <div class="location">in <a href="../../../Guanguans/Coole/Facade/Facade.html#method_resolveFacadeInstance">
<abbr title="Guanguans\Coole\Facade\Facade">Facade</abbr></a> at line 56</div>
        <code>        static    protected        mixed
    <strong>resolveFacadeInstance</strong>($name)
        </code>
    </h3>
    <div class="details">    
    
            

        <div class="method-description">
                            <p><p>解析门面实例.</p></p>                        
        </div>
        <div class="tags">
                            <h4>Parameters</h4>

                    <table class="table table-condensed">
                    <tr>
                <td></td>
                <td>$name</td>
                <td></td>
            </tr>
            </table>

            
                            <h4>Return Value</h4>

                    <table class="table table-condensed">
        <tr>
            <td>mixed</td>
            <td></td>
        </tr>
    </table>

            
            
            
                    </div>
    </div>

            </div>
                    <div class="method-item">
                    <h3 id="method_getFacadeApplication">
        <div class="location">in <a href="../../../Guanguans/Coole/Facade/Facade.html#method_getFacadeApplication">
<abbr title="Guanguans\Coole\Facade\Facade">Facade</abbr></a> at line 74</div>
        <code>        static            <abbr title="guanguans\Coole\App">App</abbr>
    <strong>getFacadeApplication</strong>()
        </code>
    </h3>
    <div class="details">    
    
            

        <div class="method-description">
                            <p class="no-description">No description</p>
                    
        </div>
        <div class="tags">
            
                            <h4>Return Value</h4>

                    <table class="table table-condensed">
        <tr>
            <td><abbr title="guanguans\Coole\App">App</abbr></td>
            <td></td>
        </tr>
    </table>

            
            
            
                    </div>
    </div>

            </div>
                    <div class="method-item">
                    <h3 id="method_setFacadeApplication">
        <div class="location">in <a href="../../../Guanguans/Coole/Facade/Facade.html#method_setFacadeApplication">
<abbr title="Guanguans\Coole\Facade\Facade">Facade</abbr></a> at line 82</div>
        <code>        static            
    <strong>setFacadeApplication</strong>($app)
        </code>
    </h3>
    <div class="details">    
    
            

        <div class="method-description">
                            <p class="no-description">No description</p>
                    
        </div>
        <div class="tags">
                            <h4>Parameters</h4>

                    <table class="table table-condensed">
                    <tr>
                <td></td>
                <td>$app</td>
                <td></td>
            </tr>
            </table>

            
            
            
            
                    </div>
    </div>

            </div>
                    <div class="method-item">
                    <h3 id="method___callStatic">
        <div class="location">in <a href="../../../Guanguans/Coole/Facade/Facade.html#method___callStatic">
<abbr title="Guanguans\Coole\Facade\Facade">Facade</abbr></a> at line 93</div>
        <code>        static            <a target="_blank" rel="noopener" href="https://www.php.net/RuntimeException">RuntimeException</a>
    <strong>__callStatic</strong>($method, $args)
        </code>
    </h3>
    <div class="details">    
    
            

        <div class="method-description">
                            <p class="no-description">No description</p>
                    
        </div>
        <div class="tags">
                            <h4>Parameters</h4>

                    <table class="table table-condensed">
                    <tr>
                <td></td>
                <td>$method</td>
                <td></td>
            </tr>
                    <tr>
                <td></td>
                <td>$args</td>
                <td></td>
            </tr>
            </table>

            
                            <h4>Return Value</h4>

                    <table class="table table-condensed">
        <tr>
            <td><a target="_blank" rel="noopener" href="https://www.php.net/RuntimeException">RuntimeException</a></td>
            <td></td>
        </tr>
    </table>

            
            
            
                    </div>
    </div>

            </div>
                    <div class="method-item">
                    <h3 id="method_connection">
        <div class="location">at line 41</div>
        <code>        static            <abbr title="Illuminate\Database\ConnectionInterface">ConnectionInterface</abbr>
    <strong>connection</strong>(string $name = null)
        </code>
    </h3>
    <div class="details">    
    
            

        <div class="method-description">
                            <p class="no-description">No description</p>
                    
        </div>
        <div class="tags">
                            <h4>Parameters</h4>

                    <table class="table table-condensed">
                    <tr>
                <td>string</td>
                <td>$name</td>
                <td></td>
            </tr>
            </table>

            
                            <h4>Return Value</h4>

                    <table class="table table-condensed">
        <tr>
            <td><abbr title="Illuminate\Database\ConnectionInterface">ConnectionInterface</abbr></td>
            <td></td>
        </tr>
    </table>

            
            
            
                    </div>
    </div>

            </div>
                    <div class="method-item">
                    <h3 id="method_table">
        <div class="location">at line 41</div>
        <code>        static            <abbr title="Illuminate\Database\Query\Builder">Builder</abbr>
    <strong>table</strong>(string $table, string $as = null)
        </code>
    </h3>
    <div class="details">    
    
            

        <div class="method-description">
                            <p class="no-description">No description</p>
                    
        </div>
        <div class="tags">
                            <h4>Parameters</h4>

                    <table class="table table-condensed">
                    <tr>
                <td>string</td>
                <td>$table</td>
                <td></td>
            </tr>
                    <tr>
                <td>string</td>
                <td>$as</td>
                <td></td>
            </tr>
            </table>

            
                            <h4>Return Value</h4>

                    <table class="table table-condensed">
        <tr>
            <td><abbr title="Illuminate\Database\Query\Builder">Builder</abbr></td>
            <td></td>
        </tr>
    </table>

            
            
            
                    </div>
    </div>

            </div>
                    <div class="method-item">
                    <h3 id="method_raw">
        <div class="location">at line 41</div>
        <code>        static            <abbr title="Illuminate\Database\Query\Expression">Expression</abbr>
    <strong>raw</strong>(mixed $value)
        </code>
    </h3>
    <div class="details">    
    
            

        <div class="method-description">
                            <p class="no-description">No description</p>
                    
        </div>
        <div class="tags">
                            <h4>Parameters</h4>

                    <table class="table table-condensed">
                    <tr>
                <td>mixed</td>
                <td>$value</td>
                <td></td>
            </tr>
            </table>

            
                            <h4>Return Value</h4>

                    <table class="table table-condensed">
        <tr>
            <td><abbr title="Illuminate\Database\Query\Expression">Expression</abbr></td>
            <td></td>
        </tr>
    </table>

            
            
            
                    </div>
    </div>

            </div>
                    <div class="method-item">
                    <h3 id="method_prepareBindings">
        <div class="location">at line 41</div>
        <code>        static            array
    <strong>prepareBindings</strong>(array $bindings)
        </code>
    </h3>
    <div class="details">    
    
            

        <div class="method-description">
                            <p class="no-description">No description</p>
                    
        </div>
        <div class="tags">
                            <h4>Parameters</h4>

                    <table class="table table-condensed">
                    <tr>
                <td>array</td>
                <td>$bindings</td>
                <td></td>
            </tr>
            </table>

            
                            <h4>Return Value</h4>

                    <table class="table table-condensed">
        <tr>
            <td>array</td>
            <td></td>
        </tr>
    </table>

            
            
            
                    </div>
    </div>

            </div>
                    <div class="method-item">
                    <h3 id="method_pretend">
        <div class="location">at line 41</div>
        <code>        static            array
    <strong>pretend</strong>(<a target="_blank" rel="noopener" href="https://www.php.net/Closure">Closure</a> $callback)
        </code>
    </h3>
    <div class="details">    
    
            

        <div class="method-description">
                            <p class="no-description">No description</p>
                    
        </div>
        <div class="tags">
                            <h4>Parameters</h4>

                    <table class="table table-condensed">
                    <tr>
                <td><a target="_blank" rel="noopener" href="https://www.php.net/Closure">Closure</a></td>
                <td>$callback</td>
                <td></td>
            </tr>
            </table>

            
                            <h4>Return Value</h4>

                    <table class="table table-condensed">
        <tr>
            <td>array</td>
            <td></td>
        </tr>
    </table>

            
            
            
                    </div>
    </div>

            </div>
                    <div class="method-item">
                    <h3 id="method_select">
        <div class="location">at line 41</div>
        <code>        static            array
    <strong>select</strong>(string $query, array $bindings = [], bool $useReadPdo = true)
        </code>
    </h3>
    <div class="details">    
    
            

        <div class="method-description">
                            <p class="no-description">No description</p>
                    
        </div>
        <div class="tags">
                            <h4>Parameters</h4>

                    <table class="table table-condensed">
                    <tr>
                <td>string</td>
                <td>$query</td>
                <td></td>
            </tr>
                    <tr>
                <td>array</td>
                <td>$bindings</td>
                <td></td>
            </tr>
                    <tr>
                <td>bool</td>
                <td>$useReadPdo</td>
                <td></td>
            </tr>
            </table>

            
                            <h4>Return Value</h4>

                    <table class="table table-condensed">
        <tr>
            <td>array</td>
            <td></td>
        </tr>
    </table>

            
            
            
                    </div>
    </div>

            </div>
                    <div class="method-item">
                    <h3 id="method_insert">
        <div class="location">at line 41</div>
        <code>        static            bool
    <strong>insert</strong>(string $query, array $bindings = [])
        </code>
    </h3>
    <div class="details">    
    
            

        <div class="method-description">
                            <p class="no-description">No description</p>
                    
        </div>
        <div class="tags">
                            <h4>Parameters</h4>

                    <table class="table table-condensed">
                    <tr>
                <td>string</td>
                <td>$query</td>
                <td></td>
            </tr>
                    <tr>
                <td>array</td>
                <td>$bindings</td>
                <td></td>
            </tr>
            </table>

            
                            <h4>Return Value</h4>

                    <table class="table table-condensed">
        <tr>
            <td>bool</td>
            <td></td>
        </tr>
    </table>

            
            
            
                    </div>
    </div>

            </div>
                    <div class="method-item">
                    <h3 id="method_statement">
        <div class="location">at line 41</div>
        <code>        static            bool
    <strong>statement</strong>(string $query, array $bindings = [])
        </code>
    </h3>
    <div class="details">    
    
            

        <div class="method-description">
                            <p class="no-description">No description</p>
                    
        </div>
        <div class="tags">
                            <h4>Parameters</h4>

                    <table class="table table-condensed">
                    <tr>
                <td>string</td>
                <td>$query</td>
                <td></td>
            </tr>
                    <tr>
                <td>array</td>
                <td>$bindings</td>
                <td></td>
            </tr>
            </table>

            
                            <h4>Return Value</h4>

                    <table class="table table-condensed">
        <tr>
            <td>bool</td>
            <td></td>
        </tr>
    </table>

            
            
            
                    </div>
    </div>

            </div>
                    <div class="method-item">
                    <h3 id="method_unprepared">
        <div class="location">at line 41</div>
        <code>        static            bool
    <strong>unprepared</strong>(string $query)
        </code>
    </h3>
    <div class="details">    
    
            

        <div class="method-description">
                            <p class="no-description">No description</p>
                    
        </div>
        <div class="tags">
                            <h4>Parameters</h4>

                    <table class="table table-condensed">
                    <tr>
                <td>string</td>
                <td>$query</td>
                <td></td>
            </tr>
            </table>

            
                            <h4>Return Value</h4>

                    <table class="table table-condensed">
        <tr>
            <td>bool</td>
            <td></td>
        </tr>
    </table>

            
            
            
                    </div>
    </div>

            </div>
                    <div class="method-item">
                    <h3 id="method_affectingStatement">
        <div class="location">at line 41</div>
        <code>        static            int
    <strong>affectingStatement</strong>(string $query, array $bindings = [])
        </code>
    </h3>
    <div class="details">    
    
            

        <div class="method-description">
                            <p class="no-description">No description</p>
                    
        </div>
        <div class="tags">
                            <h4>Parameters</h4>

                    <table class="table table-condensed">
                    <tr>
                <td>string</td>
                <td>$query</td>
                <td></td>
            </tr>
                    <tr>
                <td>array</td>
                <td>$bindings</td>
                <td></td>
            </tr>
            </table>

            
                            <h4>Return Value</h4>

                    <table class="table table-condensed">
        <tr>
            <td>int</td>
            <td></td>
        </tr>
    </table>

            
            
            
                    </div>
    </div>

            </div>
                    <div class="method-item">
                    <h3 id="method_delete">
        <div class="location">at line 41</div>
        <code>        static            int
    <strong>delete</strong>(string $query, array $bindings = [])
        </code>
    </h3>
    <div class="details">    
    
            

        <div class="method-description">
                            <p class="no-description">No description</p>
                    
        </div>
        <div class="tags">
                            <h4>Parameters</h4>

                    <table class="table table-condensed">
                    <tr>
                <td>string</td>
                <td>$query</td>
                <td></td>
            </tr>
                    <tr>
                <td>array</td>
                <td>$bindings</td>
                <td></td>
            </tr>
            </table>

            
                            <h4>Return Value</h4>

                    <table class="table table-condensed">
        <tr>
            <td>int</td>
            <td></td>
        </tr>
    </table>

            
            
            
                    </div>
    </div>

            </div>
                    <div class="method-item">
                    <h3 id="method_transactionLevel">
        <div class="location">at line 41</div>
        <code>        static            int
    <strong>transactionLevel</strong>()
        </code>
    </h3>
    <div class="details">    
    
            

        <div class="method-description">
                            <p class="no-description">No description</p>
                    
        </div>
        <div class="tags">
            
                            <h4>Return Value</h4>

                    <table class="table table-condensed">
        <tr>
            <td>int</td>
            <td></td>
        </tr>
    </table>

            
            
            
                    </div>
    </div>

            </div>
                    <div class="method-item">
                    <h3 id="method_update">
        <div class="location">at line 41</div>
        <code>        static            int
    <strong>update</strong>(string $query, array $bindings = [])
        </code>
    </h3>
    <div class="details">    
    
            

        <div class="method-description">
                            <p class="no-description">No description</p>
                    
        </div>
        <div class="tags">
                            <h4>Parameters</h4>

                    <table class="table table-condensed">
                    <tr>
                <td>string</td>
                <td>$query</td>
                <td></td>
            </tr>
                    <tr>
                <td>array</td>
                <td>$bindings</td>
                <td></td>
            </tr>
            </table>

            
                            <h4>Return Value</h4>

                    <table class="table table-condensed">
        <tr>
            <td>int</td>
            <td></td>
        </tr>
    </table>

            
            
            
                    </div>
    </div>

            </div>
                    <div class="method-item">
                    <h3 id="method_selectOne">
        <div class="location">at line 41</div>
        <code>        static            mixed
    <strong>selectOne</strong>(string $query, array $bindings = [], bool $useReadPdo = true)
        </code>
    </h3>
    <div class="details">    
    
            

        <div class="method-description">
                            <p class="no-description">No description</p>
                    
        </div>
        <div class="tags">
                            <h4>Parameters</h4>

                    <table class="table table-condensed">
                    <tr>
                <td>string</td>
                <td>$query</td>
                <td></td>
            </tr>
                    <tr>
                <td>array</td>
                <td>$bindings</td>
                <td></td>
            </tr>
                    <tr>
                <td>bool</td>
                <td>$useReadPdo</td>
                <td></td>
            </tr>
            </table>

            
                            <h4>Return Value</h4>

                    <table class="table table-condensed">
        <tr>
            <td>mixed</td>
            <td></td>
        </tr>
    </table>

            
            
            
                    </div>
    </div>

            </div>
                    <div class="method-item">
                    <h3 id="method_transaction">
        <div class="location">at line 41</div>
        <code>        static            mixed
    <strong>transaction</strong>(<a target="_blank" rel="noopener" href="https://www.php.net/Closure">Closure</a> $callback, int $attempts = 1)
        </code>
    </h3>
    <div class="details">    
    
            

        <div class="method-description">
                            <p class="no-description">No description</p>
                    
        </div>
        <div class="tags">
                            <h4>Parameters</h4>

                    <table class="table table-condensed">
                    <tr>
                <td><a target="_blank" rel="noopener" href="https://www.php.net/Closure">Closure</a></td>
                <td>$callback</td>
                <td></td>
            </tr>
                    <tr>
                <td>int</td>
                <td>$attempts</td>
                <td></td>
            </tr>
            </table>

            
                            <h4>Return Value</h4>

                    <table class="table table-condensed">
        <tr>
            <td>mixed</td>
            <td></td>
        </tr>
    </table>

            
            
            
                    </div>
    </div>

            </div>
                    <div class="method-item">
                    <h3 id="method_getDefaultConnection">
        <div class="location">at line 41</div>
        <code>        static            string
    <strong>getDefaultConnection</strong>()
        </code>
    </h3>
    <div class="details">    
    
            

        <div class="method-description">
                            <p class="no-description">No description</p>
                    
        </div>
        <div class="tags">
            
                            <h4>Return Value</h4>

                    <table class="table table-condensed">
        <tr>
            <td>string</td>
            <td></td>
        </tr>
    </table>

            
            
            
                    </div>
    </div>

            </div>
                    <div class="method-item">
                    <h3 id="method_beginTransaction">
        <div class="location">at line 41</div>
        <code>        static            void
    <strong>beginTransaction</strong>()
        </code>
    </h3>
    <div class="details">    
    
            

        <div class="method-description">
                            <p class="no-description">No description</p>
                    
        </div>
        <div class="tags">
            
                            <h4>Return Value</h4>

                    <table class="table table-condensed">
        <tr>
            <td>void</td>
            <td></td>
        </tr>
    </table>

            
            
            
                    </div>
    </div>

            </div>
                    <div class="method-item">
                    <h3 id="method_commit">
        <div class="location">at line 41</div>
        <code>        static            void
    <strong>commit</strong>()
        </code>
    </h3>
    <div class="details">    
    
            

        <div class="method-description">
                            <p class="no-description">No description</p>
                    
        </div>
        <div class="tags">
            
                            <h4>Return Value</h4>

                    <table class="table table-condensed">
        <tr>
            <td>void</td>
            <td></td>
        </tr>
    </table>

            
            
            
                    </div>
    </div>

            </div>
                    <div class="method-item">
                    <h3 id="method_listen">
        <div class="location">at line 41</div>
        <code>        static            void
    <strong>listen</strong>(<a target="_blank" rel="noopener" href="https://www.php.net/Closure">Closure</a> $callback)
        </code>
    </h3>
    <div class="details">    
    
            

        <div class="method-description">
                            <p class="no-description">No description</p>
                    
        </div>
        <div class="tags">
                            <h4>Parameters</h4>

                    <table class="table table-condensed">
                    <tr>
                <td><a target="_blank" rel="noopener" href="https://www.php.net/Closure">Closure</a></td>
                <td>$callback</td>
                <td></td>
            </tr>
            </table>

            
                            <h4>Return Value</h4>

                    <table class="table table-condensed">
        <tr>
            <td>void</td>
            <td></td>
        </tr>
    </table>

            
            
            
                    </div>
    </div>

            </div>
                    <div class="method-item">
                    <h3 id="method_rollBack">
        <div class="location">at line 41</div>
        <code>        static            void
    <strong>rollBack</strong>(int $toLevel = null)
        </code>
    </h3>
    <div class="details">    
    
            

        <div class="method-description">
                            <p class="no-description">No description</p>
                    
        </div>
        <div class="tags">
                            <h4>Parameters</h4>

                    <table class="table table-condensed">
                    <tr>
                <td>int</td>
                <td>$toLevel</td>
                <td></td>
            </tr>
            </table>

            
                            <h4>Return Value</h4>

                    <table class="table table-condensed">
        <tr>
            <td>void</td>
            <td></td>
        </tr>
    </table>

            
            
            
                    </div>
    </div>

            </div>
                    <div class="method-item">
                    <h3 id="method_setDefaultConnection">
        <div class="location">at line 41</div>
        <code>        static            void
    <strong>setDefaultConnection</strong>(string $name)
        </code>
    </h3>
    <div class="details">    
    
            

        <div class="method-description">
                            <p class="no-description">No description</p>
                    
        </div>
        <div class="tags">
                            <h4>Parameters</h4>

                    <table class="table table-condensed">
                    <tr>
                <td>string</td>
                <td>$name</td>
                <td></td>
            </tr>
            </table>

            
                            <h4>Return Value</h4>

                    <table class="table table-condensed">
        <tr>
            <td>void</td>
            <td></td>
        </tr>
    </table>

            
            
            
                    </div>
    </div>

            </div>
            </div>

    
</div><div id="footer">
        Generated by <a href="https://github.com/code-lts/doctum">Doctum, a API Documentation generator and fork of Sami</a>.            <br/>You can edit the configuration <a href="https://github.com/guanguans/coole" rel="noreferrer noopener" target="_blank">on this</a> repository.</div></div>
    </div>
    </body>

</html>
